Does JUnit 3 have something analogous to `@BeforeClass`?

Posted by FarmBoy on Stack Overflow See other posts from Stack Overflow or by FarmBoy
Published on 2010-06-11T13:25:17Z Indexed on 2010/06/11 13:42 UTC
Read the original article Hit count: 377

Filed under:
|

I'm forced to use JUnit 3 for a particular test suite. I understand setUp() and tearDown() serve the function of @Before and @After, but is there an analogue of @BeforeClass and @AfterClass for things that should happen once before the tests start, and once after all tests are run?

© Stack Overflow or respective owner

Related posts about java

Related posts about junit